package com.example.exam.service.imp;

import com.example.exam.pojo.User;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

public interface UserService {


    void insertUser(User user);



    void updateUserById(User user);



    User selectUserById(Long id);

    User selectUserByUsername(String username);




    void deleteUserById(Long id);

}
